import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;

import com.kangfuqiang.util.DateUtil;

public class Test {
    private static final String A = "abc";

    public static void main(String[] args) throws IOException, IllegalArgumentException,
            SecurityException, IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {
//        justTest();
        System.out.println(DateUtil.formatDate("yyyyMMddHHmmssSSS", new Date()));
    }


    public static void justTest() throws IllegalArgumentException, SecurityException,
            IllegalAccessException, InvocationTargetException, NoSuchMethodException {
        System.out.println("-----------justTest--------------");
        int[][] s = new int[][]{ { 1, 2, 3, 4, 5 }, { 6, 7, 8, 9, 10 }, { 11, 12, 13, 14, 15 },
                { 16, 17, 18, 19, 20 } };
        int max = s[0][0];
        int min = s[0][0];
        for (int i = 0; i < s.length; i++) {
            for (int j = 0; j < s[i].length; j++) {
                if (s[i][j] > s[0][0]) {
                    max = s[i][j];
                }
                if (s[i][j] < s[0][0]) {
                    min = s[i][j];
                }
            }
        }
        System.out.println("最大数是" + max);
        System.out.println("最小数是" + min);
    }
}